package com.woniuxy.bookmallmanagersrever.mapper;

import com.woniuxy.bookmallmanagersrever.entity.TRole;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TRoleMapper extends Mapper<TRole> {
    List<TRole> selectRoleByName(String name);

    List<TRole> selectRoleByManager(int id);
}